package com.easy.module.generator.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.easy.framework.common.model.BaseQuery;
import com.easy.framework.common.validate.Add;
import com.easy.framework.common.validate.Update;
import com.easy.framework.database.annotation.Query;
import com.easy.framework.database.annotation.QueryType;
import com.easy.framework.poi.annotation.Excel;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * 生成表字段对象 sys_post
 * 
 * @author Yang Huijing (Email:1073602@qq.com)
 * @date 2024-11-03
 */

@Setter
@Getter
public class GenTableFieldQuery extends BaseQuery
{
    private static final long serialVersionUID = 1L;

    @Query
    private Long id;

    @Query
    private Long tableId;

    @Query(type =  QueryType.LIKE)
    private String fieldName;

    @Query(type =  QueryType.LIKE)
    private String fieldComment;

}
